package com.sugar.FileListener.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.List;

/**
 * @author felix
 * @date 2025/7/3 15:07
 */
@ConfigurationProperties(prefix = "file-watcher")
@Data
public class FileWatcherProperties {
    private boolean enabled = true;
    private String path;
    private long interval = 3000;
    private List<String> suffixes;
}